#!/usr/bin/ruby
require 'mkmf'

$CFLAGS += " -g -I/usr/local/include -Wno-deprecated "
$LDFLAGS  += " -lstdc++ -L/usr/local/lib -lm3g -lz -ljpeg -lpng"

have_library('m3g')
have_library('z')
have_library('jpeg')
have_library('png')


create_makefile('m3g')

